﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace Oliving.Edge.Model.Models.XLT
{

    /// <summary>
    /// 公司表
    /// </summary>
    [SugarTable("WY_Company")]
    [Serializable]

    public class WY_Company : BaseEntity
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, ColumnName = "Id", ColumnDescription = "主键", Length = 50, ColumnDataType = "nvarchar")]
        public string Id { get; set; } = Guid.NewGuid().ToString();  /*编号*/


        [SugarColumn(ColumnName = "CompanyName", ColumnDescription = "公司名称",
            IsNullable = true, Length = 50, ColumnDataType = "nvarchar")]
        public string CompanyName { get; set; }   /*关联编号*/

        [SugarColumn(ColumnName = "CompanyPid", ColumnDescription = "母公司",
            IsNullable = true, Length = 50, ColumnDataType = "nvarchar")]
        public string CompanyPid { get; set; }  /*母公司*/

        [SugarColumn(ColumnName = "Address", ColumnDescription = "地址",
            IsNullable = true, Length = 50, ColumnDataType = "nvarchar")]
        public string Address { get; set; } /*地址*/


        [SugarColumn(ColumnName = "Telephone", ColumnDescription = "联系电话",
            IsNullable = true, Length = 50, ColumnDataType = "nvarchar")]
        public string Telephone { get; set; }    /*联系电话*/

        [SugarColumn(ColumnName = "CompanyProfile", ColumnDescription = "公司简介",
            IsNullable = true, Length = 50, ColumnDataType = "nvarchar")]
        public string CompanyProfile { get; set; }     /*公司简介*/

        [SugarColumn(ColumnName = "CompanyWebsite", ColumnDescription = "公司网站",
            IsNullable = true, Length = 50, ColumnDataType = "nvarchar")]
        public string CompanyWebsite { get; set; }      /*公司网站*/


        [SugarColumn(ColumnName = "Lat", ColumnDescription = "纬度",
            IsNullable = true, Length = 50, ColumnDataType = "nvarchar")]
        public string Lat { get; set; }  /*纬度*/

        [SugarColumn(ColumnName = "Lng", ColumnDescription = "经度",
            IsNullable = true, Length = 50, ColumnDataType = "nvarchar")]
        public string Lng { get; set; }	   /*经度*/



    }


}
